<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>JavaScript 语句</title>
</head>
<body>
<h2>分号 ;</h2>
<p>JavaScript 语句被分号分隔。</p>

<p id="demo"></p>
<script>
  var a,b,c;
  a=5;b=6;
  c=a+b;
  document.getElementById("demo").innerHTML=c;
</script>
</body>
</html>